home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
driveq-2.zip
/
DRIVEQ.DOC
next >
Wrap
Text File
|
1991-12-01
|
7KB
|
168 lines
═════ ══════ ════ ══ ══ ═══════ ═════ (R)
══ ═══ ══ ══ ══ ══ ══ ══ ═ ══ ══
══ ══ ══ ══ ══ ══ ══ ══ ══ ══
══ ══ ═════ ══ ══ ══ ════ ══ ═ ══
══ ══ ════ ══ ══ ══ ══ ══ ════
══ ═══ ══ ══ ══ ════ ══ ═ ═════
═════ ═══ ══ ════ ══ ═══════ ══
D R I V E Q b y H e x / 2 9 A
(C) Copyright 1990-1991
HK SQUARE INC.
24-16 Steinway Str. Suit 580
L.I.C., NY 11103-3612
This is Version 2.0 of DRIVEQ. The program is written to be
compatible with clone BIOSs and PC/MS-DOS 5.xx. It will run on any
PC/XT/AT/386 or 486 with disk drives A: though Z:. It support MFM,
RLL, IDE, ESDI and SCSI hard disks. DRIVEQ will also function on a
network if the drives on the network can be accessed using the regular
DOS command (i.e. Z:).
Special thanks to Mr. George Hrysanthopoulos for the original idea
(ANSYQ). Enjoy it!
Hex/29A
PROGRAM / PROGRAMMER / DATE:
════════════════════════════
DRIVEQ.EXE / Ioannis "Hex/29A" Hadjiioannou / Dec 1st 1991.
DISTRIBUTION:
═════════════
DRIVEQ.EXE is a user supported program. It is now and will always
remain the sole property of the author. This program may be freely
distributed as long as the following limitations are adhered to:
1. THE PROGRAM AND DOCUMENTATION MAY NOT BE MODIFIED.
2. THE ENTIRE DOCUMENTATION FILE MUST BE INCLUDED WITH THE
PROGRAM.
3. THE AUTHOR'S COPYRIGHT NOTICE IS NOT TO BE REMOVED.
4. NO FEE FOR THE PROGRAM MAY BE CHARGED OUTSIDE OF A
REASONABLE CHARGE FOR DISKETTE MEDIA AND/OR SHIPPING.
($2.50 MAX).
5. IT MAY NOT BE PACKAGED OR SOLD IN CONJUNCTION WITH ANY
OTHER PRODUCT.
6. DISTRIBUTION OF THESE FILES (DRIVEQ.EXE AND DRIVEQ.DOC),
USING THE COMPRESSION PROGRAM "ARC" BY SYSTEM
ENHANCEMENT ASSOCIATES INC (SEA), IS STRICTLY
PROHIBITED.
NOTE: Shareware Houses and User Groups can distribute DRIVEQ
with other programs as long as they register one (1)
copy and obtain authorization from the author. See
REGISTRATION/CONTRIBUTION.
WARRANTY:
═════════
THE PROGRAM AND DOCUMENTATION IS SUPPLIED AS-IS AND THE AUTHOR
DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THE WARRANTIES OF MERCHANTABILITY AND THE WARRANTIES OF
FITNESS FOR ANY PURPOSE. THE AUTHOR FURTHER RESERVES THE RIGHT TO MAKE
CHANGES TO THE PROGRAM OR DOCUMENTATION WITHOUT OBLIGATION TO NOTIFY
ANY PERSON OR ORGANIZATION OF SUCH CHANGES.
FORMAT:
═══════
DRIVEQ <Drive> in a batch file.
PURPOSE:
════════
DRIVEQ was developed for those who want to query about the
presence of a drive in their system from a batch file.
HOW IT WORKS:
═════════════
DRIVEQ will accept a one drive letter parameter. If that drive
exists, DRIVEQ will return ERRORLEVEL equal to 0. If the drive does not
exist it will return ERRORLEVEL equal to 1. If the query is for a
floppy drive, then DRIVEQ will return ERRORLEVEL equal to 0 if there is
a floppy disk in the drive and ERRORLEVEL equal to 1 if there is no
floppy in the drive.
In our system DRIVEQ is used in the AUTOEXEC.BAT to determine
whether or not the RAM drive installation was successful. If the RAM
drive was installed successfully then some files are copied to it to
speed up the execution of those programs, their environment variables
are set to point to the RAM drive and the TMP and TEMP environment
variables that are used to point to the temporary disk are set.
This is how it looks:
@REM ════════════════ AUTOEXEC.BAT ══════════════════
@ECHO off
VERIFY off
SET RAMDRV=off
REM ─────────────── SET RAM DRIVE ────────────────────
C:\U\driveq.exe d
IF Errorlevel 1 GOTO END1
REM ─── SET UP ENVIRONMENT VARIABLES
SET RAMDRV=on
SET TMP=d:\
SET TEMP=d:\
SET COMSPEC=%TMP%4dos.com
SET 4DSHELL=/s:x /e:1024 /l:%TMP%
SET KEDIT=defprofile %TMP%profile.kex macrop kexpath
SET FLIX=%TMP%
REM ─── COPY FILES TO THE RAM DRIVE
ECHO ═ Moving files to %TMP% ══════════════════════
COPY C:\SYSTEM\4D\4dos.com %tmp%4dos.com > NUL
COPY C:\SYSTEM\4D\4dos286.exe %tmp%4dos286.exe > NUL
COPY C:\U\KEDIT\kedit.exe %TMP% > NUL
COPY C:\U\KEDIT\profile.kex %TMP% > NUL
COPY C:\U\KEDIT\kedit.hlp %TMP% > NUL
COPY C:\U\FLIX\flix.exe %TMP% > NUL
COPY C:\U\FLIX\flix.pro %TMP% > NUL
COPY C:\U\FLIX\flix.hlp %TMP% > NUL
COPY C:\U\LIST\list.com %TMP% > NUL
COPY C:\U\V7\esu.com %TMP% > NUL
:END1
INSTALLATION:
═════════════
No special installation is required.
ERROR MESSAGES:
═══════════════
None.
REGISTRATION/CONTRIBUTION:
══════════════════════════
If you receive this program from another user or download it from
your local BBS and find it of value, your $10 contribution will be
appreciated. Please send comments and suggestions to:
HK SQUARE INC.
Ioannis Hadjiioannou
24-16 Steinway Str. Suit 580
L.I.C., NY 11103-3612
U.S.A.